package com.woniuxy.commons.entity;
/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-16 10:59
 * @description:填空题库
 */

import java.io.Serializable;
import java.sql.Date;

public class VacancyBank implements Serializable {

    private static final long serialVersionUID = 20200716105910L;//具体数值自己定义
    //    填空题ID
    private long vacancyId;
    //    填空题问题
    private String vacancyTopic;
    //    答案
    private String vacancyAnswer;
    //    出题时间
    private String vacancyBirth;
    //    出题人
    private String vacancyFounder;
    //    类别ID
    private long vacancyType;
    //    知识点ID
    private long vacancyKnowledge;
    //    分数
    private double vacancyPoint;
    //    学期
    private long vacancyTerm;
    //    解析
    private String vacancyAnalyze;
    //    学科
    private String vacancySubject;
    //    图片
    private String vacancyImg;
    //    是否独立问题(0:ture，1：false）
    private boolean vacancySingle;
    //用来临时保存前端学生的答案
    private String studentAnswer;
    //    展示知识点
    private String displayKnow;

    public String getStudentAnswer() {
        return studentAnswer;
    }

    public void setStudentAnswer(String studentAnswer) {
        this.studentAnswer = studentAnswer;
    }

    public long getVacancyId() {
        return vacancyId;
    }

    public void setVacancyId(long vacancyId) {
        this.vacancyId = vacancyId;
    }


    public String getVacancyTopic() {
        return vacancyTopic;
    }

    public void setVacancyTopic(String vacancyTopic) {
        this.vacancyTopic = vacancyTopic;
    }


    public String getVacancyAnswer() {
        return vacancyAnswer;
    }

    public void setVacancyAnswer(String vacancyAnswer) {
        this.vacancyAnswer = vacancyAnswer;
    }


    public String getVacancyBirth() {
        return vacancyBirth;
    }

    public void setVacancyBirth(String vacancyBirth) {
        this.vacancyBirth = vacancyBirth;
    }


    public String getVacancyFounder() {
        return vacancyFounder;
    }

    public void setVacancyFounder(String vacancyFounder) {
        this.vacancyFounder = vacancyFounder;
    }


    public long getVacancyType() {
        return vacancyType;
    }

    public void setVacancyType(long vacancyType) {
        this.vacancyType = vacancyType;
    }


    public long getVacancyKnowledge() {
        return vacancyKnowledge;
    }

    public void setVacancyKnowledge(long vacancyKnowledge) {
        this.vacancyKnowledge = vacancyKnowledge;
    }


    public double getVacancyPoint() {
        return vacancyPoint;
    }

    public void setVacancyPoint(double vacancyPoint) {
        this.vacancyPoint = vacancyPoint;
    }


    public long getVacancyTerm() {
        return vacancyTerm;
    }

    public void setVacancyTerm(long vacancyTerm) {
        this.vacancyTerm = vacancyTerm;
    }


    public String getVacancyAnalyze() {
        return vacancyAnalyze;
    }

    public void setVacancyAnalyze(String vacancyAnalyze) {
        this.vacancyAnalyze = vacancyAnalyze;
    }


    public String getVacancySubject() {
        return vacancySubject;
    }

    public void setVacancySubject(String vacancySubject) {
        this.vacancySubject = vacancySubject;
    }


    public String getVacancyImg() {
        return vacancyImg;
    }

    public void setVacancyImg(String vacancyImg) {
        this.vacancyImg = vacancyImg;
    }


    public boolean getVacancySingle() {
        return vacancySingle;
    }

    public void setVacancySingle(boolean vacancySingle) {
        this.vacancySingle = vacancySingle;
    }

    public String getDisplayKnow() {
        return displayKnow;
    }

    public void setDisplayKnow(String displayKnow) {
        this.displayKnow = displayKnow;
    }

    @Override
    public String toString() {
        return "<div>\n" +
                "    <div>\n" +
                "        <div>\n" +
                "            <label>\n" + vacancyTopic + "<br>\n" +
                "            </label><br>\n" +
                "        </div>\n" +
                "        <div class=\"text-success\">答案：" + vacancyAnswer + "</div>\n" +
                "        <div class=\"text-primary\"><label>解析：" + vacancyAnalyze + "</label><br></div>\n" +
                "        <div class=\"text-primary\"><label>知识点：" + displayKnow + "</label></div>\n" +
                "    </div>\n" +
                "</div>";
    }
}
